<!DOCTYPE html>
<html>
<head>
	<title>Test</title>
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body>
<?php
include_once 'functions/getTrendingNews.php';

$array = getTrendingWords();
//var_dump($array);
$limit = count($array["hits"]);
for ($i=0;$i<$limit;$i++){
	echo "Word:" . $array["words"][$i] . "____Hits: " . $array["hits"][$i];
	echo "</br>";
	
}
?>
</body>
</html> 